//
//  RepaircadeAction.m
//  ICrEAM
//
//  Created by mac on 16/11/16.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "RepaircadeResponse.h"

@implementation RepaircadeResponse
+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"license" : @"LICENSE",
             @"deliveryDate" : @"DELIVERY_DATE",
             @"deliveryStatus" : @"DELIVERY_STATUS",
             @"apartDeliveryTime" : @"APART_DELIVERY_TIME",
             @"serviceAdvisor" : @"SERVICE_ADVISOR",
             @"isBooking" : @"IS_BOOKING",
             @"isReceive" : @"IS_RECEIVE",
             @"apartDeliveryTime" : @"APART_DELIVERY_TIME",
             @"serviceAdvisor" : @"SERVICE_ADVISOR",
             @"repairStatus" : @"REPAIR_STATUS",
             @"isAuthorize" : @"IS_AUTHORIZE",
             @"isAssign" : @"IS_ASSIGN",
             @"isComplete" : @"IS_COMPLETE",
             @"isCheck" : @"IS_CHECK",
             @"isBalance" : @"IS_BALANCE"
             
             };
}
-(BOOL)haveBooking{
    if ([self.isBooking isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}
-(BOOL)haveReception{
    if ([self.isReceive isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}
@end
